package abstractFactory;

import abstractFactory.factory.factoryClass.AndroidFactory;
import abstractFactory.factory.factoryClass.IosFactory;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 38917
 * Date: 2025/5/9
 * Time: 01:03
 */

public class Demo {
    public static void main(String[] args) {
        AndroidFactory androidfactory = new AndroidFactory();
        androidfactory.createButton().reader();
        androidfactory.createCheckbox().reader();
        IosFactory iosfactory = new IosFactory();
        iosfactory.createButton().reader();
        iosfactory.createCheckbox().reader();
    }
}
